package com.geek.boot.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/7/23
 */
@RestController
@RequestMapping("/h")
@Slf4j
public class HelloController {

    @GetMapping
    public String hello() {
        log.info("CM分支  LocalDateTime :{}" , LocalDateTime.now());
        System.out.println("Git hello");
        return "Hello Git!";
    }

}
